package com.zhangtai.modules.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhangtai.utils.Excel.ExcelAnnotation;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class SecurityMemberChangeListDto {
    @ExcelAnnotation(rowName = "序号")
    private String no;
    @ApiModelProperty("姓名")
    @ExcelAnnotation(rowName = "姓名")
    private String name;
    @ApiModelProperty("工号")
    @ExcelAnnotation(rowName = "工号")
    private String code;
    private String type;
    @ApiModelProperty("类型")
    @ExcelAnnotation(rowName = "类型")
    private String typeName;
    @ApiModelProperty("变更记录")
    @ExcelAnnotation(rowName = "变更记录")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String operationTime;


    /**
     * 身份证号
     */
    @ApiModelProperty("身份证号")
    @ExcelAnnotation(rowName = "身份证号")
    private String idcard;

    @ApiModelProperty("出生日期")


    private String birthday;
    @ExcelAnnotation(rowName = "入职日期")
    private String hiredate;

    @ApiModelProperty("参加工作时间")
    @ExcelAnnotation(rowName = "参加工作时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private String beginworkdate;


    private String nationality;
    @ApiModelProperty("民族")
    @ExcelAnnotation(rowName = "民族")
    private String nationName;

    @ApiModelProperty("家庭住址")
    @ExcelAnnotation(rowName = "家庭住址")
    private String address;

    @ApiModelProperty("移动电话")
    @ExcelAnnotation(rowName = "移动电话")
    private String contact;

    /**
     * 养老保险基数
     */
    @ApiModelProperty("养老保险基数")
    @ExcelAnnotation(rowName = "养老保险基数")
    private BigDecimal endowmentInsurance;

    /**
     * 公积金
     */
    @ApiModelProperty(value="公积金基数")
    @ExcelAnnotation(rowName="公积金基数")
    private BigDecimal reservedFunds;

//    /**
//     * 失业保险基数
//     */
//    @ApiModelProperty("失业保险基数")
//    @ExcelAnnotation(rowName = "失业保险基数")
//    private BigDecimal unemploymentInsurance;
//    /**
//     * 医疗保险基数
//     */
//    @ApiModelProperty("医疗保险基数")
//    @ExcelAnnotation(rowName = "医疗保险基数")
//    private BigDecimal medicalInsurance;
//    /**
//     * 工伤保险基数
//     */
//    @ApiModelProperty("工伤保险基数")
//    @ExcelAnnotation(rowName = "工伤保险基数")
//    private BigDecimal injuryInsurance;
//    /**
//     * 大额医疗
//     */
//    @ApiModelProperty("大额医疗")
//    @ExcelAnnotation(rowName = "大额医疗")
//    private BigDecimal largerMedical;
//
//    @ApiModelProperty("生育保险基数")
//    @ExcelAnnotation(rowName = "生育保险基数")
//    private BigDecimal maternityInsurance;
//
//    @ApiModelProperty("残疾保障金")
//    @ExcelAnnotation(rowName = "残疾保障金")
//    private BigDecimal disabledEmployment;

}
